version/livepatch: Move xen_build_id_check to version.h
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 9 Aug 2016 14:31:28 +0000 (10:31 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 8 Sep 2016 01:10:40 +0000 (21:10 -0400)
commit4878878a4538dde45462cf0900a16a9cde5ef2f0
tree5f1838dc067d3520e19975547dcefc7365273ead
parent63e23a29e08a48a5540b3c8444865b810df41f0f
version/livepatch: Move xen_build_id_check to version.h

It makes more sense for it to be there. However that
means the version.h has now a dependency on <xen/elfstructs.h>
as the Elf_Note is a macro.

The elfstructs.h has a dependency on types.h as well so
we need that. We cannot put that #include <xen/types.h>
in elfstructs.h as that file is used by tools and they
do not have such file.

Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/include/xen/livepatch.h
xen/include/xen/version.h